﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Class_Entity;
using BussinessObject;

public partial class WebApplication_ContactUs : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            loadGrid();

        }
    }

    private void loadGrid()
    {
        ContactUs cu = new ContactUs();
        BOContactUs bocu = new BOContactUs();

        DataList1.DataSource = bocu.Load_ContactUs(cu);
        DataList1.DataBind();
    }

}